﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class uc_menu : System.Web.UI.UserControl
{
    private string _strLogo="0";
    public string Logo
    {
        set { this._strLogo = value; }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (_strLogo == "0" )
            {
                this.ltlLogo.Text = "<img id=\"logo\" src=\"images/logo.png\" alt=\"\" />";
            }
            else
            {
                this.ltlLogo.Text = "<img id=\"logo\" src=\"images/logo1.png\" alt=\"\" />";
            }
        }
    }
}